
import javax.swing.JButton;
import javax.swing.JMenuItem;

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author BENSON
 */
public class HomePage extends javax.swing.JFrame {

    /**
     * Creates new form HomePage
     */
    public HomePage() {
        initComponents();
    }
    public JButton getAddEmp(){
        return AddE;
    }
    public JButton getModifyEmp(){
        return ModifyE;
    }
    public JButton getDeleteEmp(){
        return DeleteE;
    }
    public JButton getShowEmp(){
        return ShowE;
    }
    public JButton getAddFlight(){
        return AddF;
    }
    public JButton getModifyFlight(){
        return ModifyF;
    }
    public JButton getDeleteFlight(){
        return DeleteF;
    }
    public JButton getShowFlight(){
        return ShowF;
    }
    public JButton getAddReservation(){
        return AddR;
    }
    public JButton getModifyReservation(){
        return ModifyR;
    }
    public JButton getDeleteReservation(){
        return DeleteR;
    }
    public JButton getShowReservation(){
        return ShowR;
    }
    
    public JMenuItem getAddEmMenu(){
    return AddEm;
    }
    public JMenuItem getModifyEmMenu(){
    return ModifyEm;
    }
    public JMenuItem getDeleteEmMenu(){
    return DeleteEm;
    }
    public JMenuItem getShowEmMenu(){
    return ShowEm;
    }
    public JMenuItem getAddFlMenu(){
    return AddFl;
    }
    public JMenuItem getModifyFlMenu(){
    return ModifyFl;
    }
    public JMenuItem getDeleteFlMenu(){
    return DeleteFl;
    }
    public JMenuItem getShowFlMenu(){
    return ShowFl;
    }
    public JMenuItem getAddReMenu(){
    return AddRe;
    }
    public JMenuItem getModifyReMenu(){
    return ModifyRe;
    }
    public JMenuItem getDeleteReMenu(){
    return DeleteRe;
    }
    public JMenuItem getShowReMenu(){
    return ShowRe;
    }
    
    
    
    

    /**
     * This method is called from within the constructor to initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is always
     * regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jMenuItem8 = new javax.swing.JMenuItem();
        jLabel1 = new javax.swing.JLabel();
        jLabel2 = new javax.swing.JLabel();
        jLabel3 = new javax.swing.JLabel();
        AddE = new javax.swing.JButton();
        AddF = new javax.swing.JButton();
        AddR = new javax.swing.JButton();
        ModifyE = new javax.swing.JButton();
        DeleteR = new javax.swing.JButton();
        DeleteF = new javax.swing.JButton();
        DeleteE = new javax.swing.JButton();
        ShowE = new javax.swing.JButton();
        ModifyF = new javax.swing.JButton();
        ModifyR = new javax.swing.JButton();
        ShowR = new javax.swing.JButton();
        ShowF = new javax.swing.JButton();
        jToolBar1 = new javax.swing.JToolBar();
        jMenuBar1 = new javax.swing.JMenuBar();
        jMenu1 = new javax.swing.JMenu();
        AddEm = new javax.swing.JMenuItem();
        ModifyEm = new javax.swing.JMenuItem();
        DeleteEm = new javax.swing.JMenuItem();
        ShowEm = new javax.swing.JMenuItem();
        jMenu2 = new javax.swing.JMenu();
        AddFl = new javax.swing.JMenuItem();
        ModifyFl = new javax.swing.JMenuItem();
        DeleteFl = new javax.swing.JMenuItem();
        ShowFl = new javax.swing.JMenuItem();
        jMenu3 = new javax.swing.JMenu();
        AddRe = new javax.swing.JMenuItem();
        ModifyRe = new javax.swing.JMenuItem();
        DeleteRe = new javax.swing.JMenuItem();
        ShowRe = new javax.swing.JMenuItem();

        jMenuItem8.setText("jMenuItem8");

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);

        jLabel1.setText("Employees");

        jLabel2.setText("Flights");

        jLabel3.setText("Reservations");

        AddE.setText("Add");

        AddF.setText("Add");

        AddR.setText("Add");

        ModifyE.setText("Modify");

        DeleteR.setText("Delete");

        DeleteF.setText("Delete");

        DeleteE.setText("Delete");

        ShowE.setText("Show");

        ModifyF.setText("Modify");

        ModifyR.setText("Modify");

        ShowR.setText("Show");

        ShowF.setText("Show");

        jToolBar1.setRollover(true);

        jMenu1.setText("Employees");

        AddEm.setText("Add Employee");
        jMenu1.add(AddEm);

        ModifyEm.setText("Modify Employee");
        jMenu1.add(ModifyEm);

        DeleteEm.setText("Delete EMployee");
        jMenu1.add(DeleteEm);

        ShowEm.setText("Show Employees");
        ShowEm.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                ShowEmActionPerformed(evt);
            }
        });
        jMenu1.add(ShowEm);

        jMenuBar1.add(jMenu1);

        jMenu2.setText("Flights");

        AddFl.setText("Add Flight");
        jMenu2.add(AddFl);

        ModifyFl.setText("Modify Flight");
        jMenu2.add(ModifyFl);

        DeleteFl.setText("Delete Flight");
        jMenu2.add(DeleteFl);

        ShowFl.setText("Show Flights");
        jMenu2.add(ShowFl);

        jMenuBar1.add(jMenu2);

        jMenu3.setText("Reservations");

        AddRe.setText("Add Reservation");
        jMenu3.add(AddRe);

        ModifyRe.setText("Modify Reservation");
        jMenu3.add(ModifyRe);

        DeleteRe.setText("Delete Reservation");
        jMenu3.add(DeleteRe);

        ShowRe.setText("Show Reservations");
        jMenu3.add(ShowRe);

        jMenuBar1.add(jMenu3);

        setJMenuBar(jMenuBar1);

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addGap(47, 47, 47)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(layout.createSequentialGroup()
                        .addComponent(jLabel1)
                        .addGap(247, 247, 247)
                        .addComponent(jLabel2))
                    .addGroup(layout.createSequentialGroup()
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                            .addComponent(ShowE, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                            .addComponent(AddE, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                            .addComponent(ModifyE, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, 128, Short.MAX_VALUE)
                            .addComponent(DeleteE, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                        .addGap(143, 143, 143)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                            .addComponent(AddF, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                            .addComponent(ModifyF, javax.swing.GroupLayout.DEFAULT_SIZE, 127, Short.MAX_VALUE)
                            .addComponent(DeleteF, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                            .addComponent(ShowF, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addComponent(jLabel3)
                    .addComponent(AddR, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(ModifyR, javax.swing.GroupLayout.DEFAULT_SIZE, 112, Short.MAX_VALUE)
                    .addComponent(DeleteR, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(ShowR, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                .addGap(57, 57, 57))
            .addGroup(layout.createSequentialGroup()
                .addGap(35, 35, 35)
                .addComponent(jToolBar1, javax.swing.GroupLayout.PREFERRED_SIZE, 751, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(40, Short.MAX_VALUE))
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addComponent(jToolBar1, javax.swing.GroupLayout.PREFERRED_SIZE, 90, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(18, 18, 18)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel1)
                    .addComponent(jLabel2)
                    .addComponent(jLabel3))
                .addGap(29, 29, 29)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(AddE)
                    .addComponent(AddF)
                    .addComponent(AddR))
                .addGap(18, 18, 18)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(ModifyE)
                    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(ModifyF)
                        .addComponent(ModifyR)))
                .addGap(26, 26, 26)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(DeleteE)
                    .addComponent(DeleteF)
                    .addComponent(DeleteR))
                .addGap(18, 18, 18)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(ShowF)
                    .addComponent(ShowE)
                    .addComponent(ShowR))
                .addContainerGap(131, Short.MAX_VALUE))
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents

    private void ShowEmActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_ShowEmActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_ShowEmActionPerformed

    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton AddE;
    private javax.swing.JMenuItem AddEm;
    private javax.swing.JButton AddF;
    private javax.swing.JMenuItem AddFl;
    private javax.swing.JButton AddR;
    private javax.swing.JMenuItem AddRe;
    private javax.swing.JButton DeleteE;
    private javax.swing.JMenuItem DeleteEm;
    private javax.swing.JButton DeleteF;
    private javax.swing.JMenuItem DeleteFl;
    private javax.swing.JButton DeleteR;
    private javax.swing.JMenuItem DeleteRe;
    private javax.swing.JButton ModifyE;
    private javax.swing.JMenuItem ModifyEm;
    private javax.swing.JButton ModifyF;
    private javax.swing.JMenuItem ModifyFl;
    private javax.swing.JButton ModifyR;
    private javax.swing.JMenuItem ModifyRe;
    private javax.swing.JButton ShowE;
    private javax.swing.JMenuItem ShowEm;
    private javax.swing.JButton ShowF;
    private javax.swing.JMenuItem ShowFl;
    private javax.swing.JButton ShowR;
    private javax.swing.JMenuItem ShowRe;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JLabel jLabel2;
    private javax.swing.JLabel jLabel3;
    private javax.swing.JMenu jMenu1;
    private javax.swing.JMenu jMenu2;
    private javax.swing.JMenu jMenu3;
    private javax.swing.JMenuBar jMenuBar1;
    private javax.swing.JMenuItem jMenuItem8;
    private javax.swing.JToolBar jToolBar1;
    // End of variables declaration//GEN-END:variables
}
